# from django.contrib.auth.models import AbstractUser
# from django.db import models
#
# # Create your models here.
#
# # 需要展示的就业信息内容包括:职位名称，工作性质，工作经验要求，月薪范围，学历要求，工作地点，招聘人数，发布日期，专业要求
#
# class User(AbstractUser):
#     mobile = models.CharField(max_length=11, unique=True, null=False, verbose_name='手机号')
#
#     class Meta:
#         db_table = 'tb_users'
#         verbose_name = '用户'
#
#
#
#
#
# class JobInfo(models.Model):
#     """招聘"""
#     job_title = models.CharField(max_length=20, verbose_name='职位名称')
#     job_category = models.CharField(max_length=20, verbose_name='工作性质')
#     job_experience = models.CharField(max_length=20, verbose_name='工作经验要求')
#     job_monthly_pay = models.CharField(max_length=20, verbose_name='月薪范围')
#     job_education = models.CharField(max_length=20, verbose_name='学历要求')
#     job_address = models.CharField(max_length=20, verbose_name='工作地点')
#     job_count = models.IntegerField(verbose_name='招聘人数')
#     job_major = models.CharField(max_length=200, verbose_name='专业要求')
#     create_time = models.DateTimeField(auto_now_add=True, verbose_name="发布日期")
#
#     class Meta:
#         db_table = 'tb_job'
#
#     def __str__(self):
#         return self.job_title